]> dgit.raspbian.org Git - gnome-shell.git/commit
StTextureCache: Fix leak of key string
authorColin Walters <walters@verbum.org>
Tue, 24 May 2011 16:51:47 +0000 (12:51 -0400)
committerColin Walters <walters@verbum.org>
Tue, 24 May 2011 17:00:46 +0000 (13:00 -0400)
commitfdefb317cbdfbed72a8e52594ce00fd4171a803e
treeca32935f4c6a92cec885119304173dae02d32f08
parent4e0c8bfe67bb5d474ce28130be3e9cf2b0a5c780
StTextureCache: Fix leak of key string

Also micro-optimize by avoiding another strdup(), instead pass
ownership of the string when we can.

https://bugzilla.gnome.org/show_bug.cgi?id=649508
src/st/st-texture-cache.c